package com.aramco.fion.event
{	
	import flash.events.Event;
	
	import mx.rpc.IResponder;
	import mx.rpc.Responder;
	
	public class ManageTablesRecordsEvent extends BaseEvent
	{
		public static const GET_ALL_RECORDS_EVENT : String = "GET_ALL_RECORDS_EVENT";
		public static const GET_BY_KEY_EVENT : String = "GET_BY_KEY_EVENT";
		public static const UPDATE_BY_KEY_EVENT : String = "UPDATE_BY_KEY_EVENT";
		public static const CREATE_RECORD_EVENT : String = "CREATE_RECORD_EVENT";
		public static const DEACTIVATE_BY_KEY_EVENT : String = "DEACTIVATE_BY_KEY_EVENT";
		
		/**
		 * This is just a normal Flex event. The only thing to note is that we set 'bubbles' to true,
		 * so that the event will bubble up the display list, allowing Swiz to listen for your events.
		 */ 
		
		public function ManageTablesRecordsEvent(eventType:String, handler:IResponder = null):void
		{
			super(eventType, handler);
		}
		
		public var param:Object;
		public var tableName:String;
		
	}
}